package com.ruoyi.api.abuwx.api;

import com.ruoyi.api.abuwx.service.ICCategoryService;
import com.ruoyi.common.core.domain.AjaxResult;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zouhuu
 * @description 客户端题库模块API接口
 * @date 2022/07/05 09:04:30
 */
@RestController
@RequestMapping("/api/abuwx")
@Api(tags = "客户端-题库模块API")
public class CategoryApi {

    @Autowired
    private ICCategoryService icCategoryService;


//    @ApiOperation("题库列表")
    @GetMapping("/Category")
    public AjaxResult CategoryList() {
        return icCategoryService.selectSiteCategory();
    }
}
